Fix dead LeNet/MNIST download for fgsm_tutorial#3922
Open
yushangdi wants to merge 1 commit into
Open
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3922
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled JobAs of commit f7f128f with merge base 326edb0 ( CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
The Google Drive link for the fgsm_tutorial LeNet/MNIST checkpoint started returning HTTP 404, which broke `make download` on any build shard that runs fgsm_tutorial. Use a refreshed Google Drive link as the primary source and a public S3 mirror (s3://pytorch-tutorial-assets/lenet_mnist_model_v2.pth) as a fallback so the download survives future Drive link rot. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
46d11da to
f7f128f
Compare
malfet
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
make downloadfails on any build shard that runsfgsm_tutorialbecause the LeNet/MNIST checkpoint it depends on was fetched from a Google Drive link that now returns HTTP 404:This is a pre-existing, repo-wide breakage (the link died after the last
mainbuild, so it only surfaces on PRs whose shard rebalancing putsfgsm_tutorialon a worker that exercises the download).Fix
Point
download_lenet_mnist()at a public S3 mirror onpytorch-tutorial-assets(the same host the DCGAN download already uses) instead of the dead Drive link.The checkpoint was retrained to match the exact
Netarchitecture inbeginner_source/fgsm_tutorial.py(conv1 32x1x3x3 / conv2 / fc1 9216x128 / fc2), so it loads with a strictload_state_dict.Verification
download_lenet_mnist()end-to-end: file lands atbeginner_source/data/lenet_mnist_model.pth, sha256 matches.Netand runs an FGSM step.🤖 Generated with Claude Code